package com.beifu.manager.service.organization;

import com.beifu.manager.model.Organizer;
import com.beifu.manager.model.OrganizerExample;
import com.mds.manager.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 再壮 on 2018/6/18.
 */
public interface OrganizerService {
    public List<Organizer> selectByExample(OrganizerExample example);

    int countByExample(OrganizerExample example);

    int deleteByExample(OrganizerExample example);

    int deleteByPrimaryKey(int id);

    int insertSelective(Organizer record);

    Organizer selectByPrimaryKey(int id);

    int updateByExampleSelective(@Param("record") Organizer record, @Param("example") OrganizerExample example);

    int updateByExample(@Param("record") Organizer record, @Param("example") OrganizerExample example);

    int updateByPrimaryKeySelective(Organizer record);

    int updateByPrimaryKey(Organizer record);

    PageUtils getRolePage(PageUtils page);

    int batchDel(String[] idsArr);

    PageUtils getOrganizerPages(PageUtils page);
}
